<?php
if (!defined("_INDEX")) { header("Location: /"); die; }

$rumor_id = $route->getAdminId();
$db->sendQuery("delete from `rumors_likes` where `rumor_id` = '$rumor_id'");
$db->sendQuery("delete from `rumors` where `rumor_id` = '$rumor_id' limit 1");

goToPage("/admin/rumors/view");

?>